$nIndex - An unsigned integer specifying the zero-based index of the digital output to address. This index must be in the 0 to 31 range. Values outside this range will produce a Tcl error.
$bState - An unsigned integer functioning as a boolean. The function distinguishes between the values zero and non-zero. Zero will set the digital output to low potential. Non-zero will set the digital output to high potential.
# In this example we're going to set the 4th digital output on the 2nd card to high potential. set nIndex 5 set bState 1 SetDIP_2 $nIndex $bState # The script will fail with a Tcl error if this doesn't work for some reason. # If we reach this line at all, we know it worked. Otherwise a Tcl error would have prevented us from getting so far in # the first place.